
prime-number-c:     file format elf64-x86-64


Disassembly of section .init:

0000000000001000 <_init>:
    1000:	f3 0f 1e fa          	endbr64 
    1004:	48 83 ec 08          	sub    $0x8,%rsp
    1008:	48 8b 05 d9 2f 00 00 	mov    0x2fd9(%rip),%rax        # 3fe8 <__gmon_start__>
    100f:	48 85 c0             	test   %rax,%rax
    1012:	74 02                	je     1016 <_init+0x16>
    1014:	ff d0                	callq  *%rax
    1016:	48 83 c4 08          	add    $0x8,%rsp
    101a:	c3                   	retq   

Disassembly of section .plt:

0000000000001020 <.plt>:
    1020:	ff 35 72 2f 00 00    	pushq  0x2f72(%rip)        # 3f98 <_GLOBAL_OFFSET_TABLE_+0x8>
    1026:	f2 ff 25 73 2f 00 00 	bnd jmpq *0x2f73(%rip)        # 3fa0 <_GLOBAL_OFFSET_TABLE_+0x10>
    102d:	0f 1f 00             	nopl   (%rax)
    1030:	f3 0f 1e fa          	endbr64 
    1034:	68 00 00 00 00       	pushq  $0x0
    1039:	f2 e9 e1 ff ff ff    	bnd jmpq 1020 <.plt>
    103f:	90                   	nop
    1040:	f3 0f 1e fa          	endbr64 
    1044:	68 01 00 00 00       	pushq  $0x1
    1049:	f2 e9 d1 ff ff ff    	bnd jmpq 1020 <.plt>
    104f:	90                   	nop
    1050:	f3 0f 1e fa          	endbr64 
    1054:	68 02 00 00 00       	pushq  $0x2
    1059:	f2 e9 c1 ff ff ff    	bnd jmpq 1020 <.plt>
    105f:	90                   	nop
    1060:	f3 0f 1e fa          	endbr64 
    1064:	68 03 00 00 00       	pushq  $0x3
    1069:	f2 e9 b1 ff ff ff    	bnd jmpq 1020 <.plt>
    106f:	90                   	nop
    1070:	f3 0f 1e fa          	endbr64 
    1074:	68 04 00 00 00       	pushq  $0x4
    1079:	f2 e9 a1 ff ff ff    	bnd jmpq 1020 <.plt>
    107f:	90                   	nop
    1080:	f3 0f 1e fa          	endbr64 
    1084:	68 05 00 00 00       	pushq  $0x5
    1089:	f2 e9 91 ff ff ff    	bnd jmpq 1020 <.plt>
    108f:	90                   	nop

Disassembly of section .plt.got:

0000000000001090 <__cxa_finalize@plt>:
    1090:	f3 0f 1e fa          	endbr64 
    1094:	f2 ff 25 5d 2f 00 00 	bnd jmpq *0x2f5d(%rip)        # 3ff8 <__cxa_finalize@GLIBC_2.2.5>
    109b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

Disassembly of section .plt.sec:

00000000000010a0 <free@plt>:
    10a0:	f3 0f 1e fa          	endbr64 
    10a4:	f2 ff 25 fd 2e 00 00 	bnd jmpq *0x2efd(%rip)        # 3fa8 <free@GLIBC_2.2.5>
    10ab:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000010b0 <puts@plt>:
    10b0:	f3 0f 1e fa          	endbr64 
    10b4:	f2 ff 25 f5 2e 00 00 	bnd jmpq *0x2ef5(%rip)        # 3fb0 <puts@GLIBC_2.2.5>
    10bb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000010c0 <clock@plt>:
    10c0:	f3 0f 1e fa          	endbr64 
    10c4:	f2 ff 25 ed 2e 00 00 	bnd jmpq *0x2eed(%rip)        # 3fb8 <clock@GLIBC_2.2.5>
    10cb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000010d0 <printf@plt>:
    10d0:	f3 0f 1e fa          	endbr64 
    10d4:	f2 ff 25 e5 2e 00 00 	bnd jmpq *0x2ee5(%rip)        # 3fc0 <printf@GLIBC_2.2.5>
    10db:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000010e0 <memset@plt>:
    10e0:	f3 0f 1e fa          	endbr64 
    10e4:	f2 ff 25 dd 2e 00 00 	bnd jmpq *0x2edd(%rip)        # 3fc8 <memset@GLIBC_2.2.5>
    10eb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000010f0 <malloc@plt>:
    10f0:	f3 0f 1e fa          	endbr64 
    10f4:	f2 ff 25 d5 2e 00 00 	bnd jmpq *0x2ed5(%rip)        # 3fd0 <malloc@GLIBC_2.2.5>
    10fb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

Disassembly of section .text:

0000000000001100 <_start>:
    1100:	f3 0f 1e fa          	endbr64 
    1104:	31 ed                	xor    %ebp,%ebp
    1106:	49 89 d1             	mov    %rdx,%r9
    1109:	5e                   	pop    %rsi
    110a:	48 89 e2             	mov    %rsp,%rdx
    110d:	48 83 e4 f0          	and    $0xfffffffffffffff0,%rsp
    1111:	50                   	push   %rax
    1112:	54                   	push   %rsp
    1113:	4c 8d 05 56 03 00 00 	lea    0x356(%rip),%r8        # 1470 <__libc_csu_fini>
    111a:	48 8d 0d df 02 00 00 	lea    0x2df(%rip),%rcx        # 1400 <__libc_csu_init>
    1121:	48 8d 3d d6 01 00 00 	lea    0x1d6(%rip),%rdi        # 12fe <main>
    1128:	ff 15 b2 2e 00 00    	callq  *0x2eb2(%rip)        # 3fe0 <__libc_start_main@GLIBC_2.2.5>
    112e:	f4                   	hlt    
    112f:	90                   	nop

0000000000001130 <deregister_tm_clones>:
    1130:	48 8d 3d d9 2e 00 00 	lea    0x2ed9(%rip),%rdi        # 4010 <__TMC_END__>
    1137:	48 8d 05 d2 2e 00 00 	lea    0x2ed2(%rip),%rax        # 4010 <__TMC_END__>
    113e:	48 39 f8             	cmp    %rdi,%rax
    1141:	74 15                	je     1158 <deregister_tm_clones+0x28>
    1143:	48 8b 05 8e 2e 00 00 	mov    0x2e8e(%rip),%rax        # 3fd8 <_ITM_deregisterTMCloneTable>
    114a:	48 85 c0             	test   %rax,%rax
    114d:	74 09                	je     1158 <deregister_tm_clones+0x28>
    114f:	ff e0                	jmpq   *%rax
    1151:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
    1158:	c3                   	retq   
    1159:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

0000000000001160 <register_tm_clones>:
    1160:	48 8d 3d a9 2e 00 00 	lea    0x2ea9(%rip),%rdi        # 4010 <__TMC_END__>
    1167:	48 8d 35 a2 2e 00 00 	lea    0x2ea2(%rip),%rsi        # 4010 <__TMC_END__>
    116e:	48 29 fe             	sub    %rdi,%rsi
    1171:	48 89 f0             	mov    %rsi,%rax
    1174:	48 c1 ee 3f          	shr    $0x3f,%rsi
    1178:	48 c1 f8 03          	sar    $0x3,%rax
    117c:	48 01 c6             	add    %rax,%rsi
    117f:	48 d1 fe             	sar    %rsi
    1182:	74 14                	je     1198 <register_tm_clones+0x38>
    1184:	48 8b 05 65 2e 00 00 	mov    0x2e65(%rip),%rax        # 3ff0 <_ITM_registerTMCloneTable>
    118b:	48 85 c0             	test   %rax,%rax
    118e:	74 08                	je     1198 <register_tm_clones+0x38>
    1190:	ff e0                	jmpq   *%rax
    1192:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)
    1198:	c3                   	retq   
    1199:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

00000000000011a0 <__do_global_dtors_aux>:
    11a0:	f3 0f 1e fa          	endbr64 
    11a4:	80 3d 65 2e 00 00 00 	cmpb   $0x0,0x2e65(%rip)        # 4010 <__TMC_END__>
    11ab:	75 2b                	jne    11d8 <__do_global_dtors_aux+0x38>
    11ad:	55                   	push   %rbp
    11ae:	48 83 3d 42 2e 00 00 	cmpq   $0x0,0x2e42(%rip)        # 3ff8 <__cxa_finalize@GLIBC_2.2.5>
    11b5:	00 
    11b6:	48 89 e5             	mov    %rsp,%rbp
    11b9:	74 0c                	je     11c7 <__do_global_dtors_aux+0x27>
    11bb:	48 8b 3d 46 2e 00 00 	mov    0x2e46(%rip),%rdi        # 4008 <__dso_handle>
    11c2:	e8 c9 fe ff ff       	callq  1090 <__cxa_finalize@plt>
    11c7:	e8 64 ff ff ff       	callq  1130 <deregister_tm_clones>
    11cc:	c6 05 3d 2e 00 00 01 	movb   $0x1,0x2e3d(%rip)        # 4010 <__TMC_END__>
    11d3:	5d                   	pop    %rbp
    11d4:	c3                   	retq   
    11d5:	0f 1f 00             	nopl   (%rax)
    11d8:	c3                   	retq   
    11d9:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

00000000000011e0 <frame_dummy>:
    11e0:	f3 0f 1e fa          	endbr64 
    11e4:	e9 77 ff ff ff       	jmpq   1160 <register_tm_clones>

00000000000011e9 <_Z5countj>:
    11e9:	f3 0f 1e fa          	endbr64 
    11ed:	55                   	push   %rbp
    11ee:	48 89 e5             	mov    %rsp,%rbp
    11f1:	89 7d ec             	mov    %edi,-0x14(%rbp)
    11f4:	c7 45 f8 00 00 00 00 	movl   $0x0,-0x8(%rbp)
    11fb:	8b 45 ec             	mov    -0x14(%rbp),%eax
    11fe:	89 45 fc             	mov    %eax,-0x4(%rbp)
    1201:	83 7d fc 00          	cmpl   $0x0,-0x4(%rbp)
    1205:	74 13                	je     121a <_Z5countj+0x31>
    1207:	8b 45 fc             	mov    -0x4(%rbp),%eax
    120a:	83 e0 01             	and    $0x1,%eax
    120d:	85 c0                	test   %eax,%eax
    120f:	74 04                	je     1215 <_Z5countj+0x2c>
    1211:	83 45 f8 01          	addl   $0x1,-0x8(%rbp)
    1215:	d1 6d fc             	shrl   -0x4(%rbp)
    1218:	eb e7                	jmp    1201 <_Z5countj+0x18>
    121a:	8b 45 f8             	mov    -0x8(%rbp),%eax
    121d:	5d                   	pop    %rbp
    121e:	c3                   	retq   

000000000000121f <_Z5sievePj>:
    121f:	f3 0f 1e fa          	endbr64 
    1223:	55                   	push   %rbp
    1224:	48 89 e5             	mov    %rsp,%rbp
    1227:	48 89 7d e8          	mov    %rdi,-0x18(%rbp)
    122b:	c7 45 f8 02 00 00 00 	movl   $0x2,-0x8(%rbp)
    1232:	81 7d f8 10 27 00 00 	cmpl   $0x2710,-0x8(%rbp)
    1239:	0f 8f bc 00 00 00    	jg     12fb <_Z5sievePj+0xdc>
    123f:	8b 45 f8             	mov    -0x8(%rbp),%eax
    1242:	8d 50 1f             	lea    0x1f(%rax),%edx
    1245:	85 c0                	test   %eax,%eax
    1247:	0f 48 c2             	cmovs  %edx,%eax
    124a:	c1 f8 05             	sar    $0x5,%eax
    124d:	48 98                	cltq   
    124f:	48 8d 14 85 00 00 00 	lea    0x0(,%rax,4),%rdx
    1256:	00 
    1257:	48 8b 45 e8          	mov    -0x18(%rbp),%rax
    125b:	48 01 d0             	add    %rdx,%rax
    125e:	8b 30                	mov    (%rax),%esi
    1260:	8b 45 f8             	mov    -0x8(%rbp),%eax
    1263:	99                   	cltd   
    1264:	c1 ea 1b             	shr    $0x1b,%edx
    1267:	01 d0                	add    %edx,%eax
    1269:	83 e0 1f             	and    $0x1f,%eax
    126c:	29 d0                	sub    %edx,%eax
    126e:	ba 01 00 00 00       	mov    $0x1,%edx
    1273:	89 c1                	mov    %eax,%ecx
    1275:	d3 e2                	shl    %cl,%edx
    1277:	89 d0                	mov    %edx,%eax
    1279:	21 f0                	and    %esi,%eax
    127b:	85 c0                	test   %eax,%eax
    127d:	74 73                	je     12f2 <_Z5sievePj+0xd3>
    127f:	8b 45 f8             	mov    -0x8(%rbp),%eax
    1282:	0f af c0             	imul   %eax,%eax
    1285:	89 45 fc             	mov    %eax,-0x4(%rbp)
    1288:	81 7d fc ff e0 f5 05 	cmpl   $0x5f5e0ff,-0x4(%rbp)
    128f:	7f 61                	jg     12f2 <_Z5sievePj+0xd3>
    1291:	8b 45 fc             	mov    -0x4(%rbp),%eax
    1294:	8d 50 1f             	lea    0x1f(%rax),%edx
    1297:	85 c0                	test   %eax,%eax
    1299:	0f 48 c2             	cmovs  %edx,%eax
    129c:	c1 f8 05             	sar    $0x5,%eax
    129f:	89 c7                	mov    %eax,%edi
    12a1:	48 63 c7             	movslq %edi,%rax
    12a4:	48 8d 14 85 00 00 00 	lea    0x0(,%rax,4),%rdx
    12ab:	00 
    12ac:	48 8b 45 e8          	mov    -0x18(%rbp),%rax
    12b0:	48 01 d0             	add    %rdx,%rax
    12b3:	8b 30                	mov    (%rax),%esi
    12b5:	8b 45 fc             	mov    -0x4(%rbp),%eax
    12b8:	99                   	cltd   
    12b9:	c1 ea 1b             	shr    $0x1b,%edx
    12bc:	01 d0                	add    %edx,%eax
    12be:	83 e0 1f             	and    $0x1f,%eax
    12c1:	29 d0                	sub    %edx,%eax
    12c3:	ba 01 00 00 00       	mov    $0x1,%edx
    12c8:	89 c1                	mov    %eax,%ecx
    12ca:	d3 e2                	shl    %cl,%edx
    12cc:	89 d0                	mov    %edx,%eax
    12ce:	f7 d0                	not    %eax
    12d0:	89 c1                	mov    %eax,%ecx
    12d2:	48 63 c7             	movslq %edi,%rax
    12d5:	48 8d 14 85 00 00 00 	lea    0x0(,%rax,4),%rdx
    12dc:	00 
    12dd:	48 8b 45 e8          	mov    -0x18(%rbp),%rax
    12e1:	48 01 d0             	add    %rdx,%rax
    12e4:	21 ce                	and    %ecx,%esi
    12e6:	89 f2                	mov    %esi,%edx
    12e8:	89 10                	mov    %edx,(%rax)
    12ea:	8b 45 f8             	mov    -0x8(%rbp),%eax
    12ed:	01 45 fc             	add    %eax,-0x4(%rbp)
    12f0:	eb 96                	jmp    1288 <_Z5sievePj+0x69>
    12f2:	83 45 f8 01          	addl   $0x1,-0x8(%rbp)
    12f6:	e9 37 ff ff ff       	jmpq   1232 <_Z5sievePj+0x13>
    12fb:	90                   	nop
    12fc:	5d                   	pop    %rbp
    12fd:	c3                   	retq   

00000000000012fe <main>:
    12fe:	f3 0f 1e fa          	endbr64 
    1302:	55                   	push   %rbp
    1303:	48 89 e5             	mov    %rsp,%rbp
    1306:	48 83 ec 20          	sub    $0x20,%rsp
    130a:	e8 b1 fd ff ff       	callq  10c0 <clock@plt>
    130f:	48 89 45 f0          	mov    %rax,-0x10(%rbp)
    1313:	bf 20 bc be 00       	mov    $0xbebc20,%edi
    1318:	e8 d3 fd ff ff       	callq  10f0 <malloc@plt>
    131d:	48 89 45 f8          	mov    %rax,-0x8(%rbp)
    1321:	48 83 7d f8 00       	cmpq   $0x0,-0x8(%rbp)
    1326:	75 16                	jne    133e <main+0x40>
    1328:	48 8d 3d d5 0c 00 00 	lea    0xcd5(%rip),%rdi        # 2004 <_IO_stdin_used+0x4>
    132f:	e8 7c fd ff ff       	callq  10b0 <puts@plt>
    1334:	b8 ff ff ff ff       	mov    $0xffffffff,%eax
    1339:	e9 b8 00 00 00       	jmpq   13f6 <main+0xf8>
    133e:	48 8b 45 f8          	mov    -0x8(%rbp),%rax
    1342:	ba 20 bc be 00       	mov    $0xbebc20,%edx
    1347:	be ff 00 00 00       	mov    $0xff,%esi
    134c:	48 89 c7             	mov    %rax,%rdi
    134f:	e8 8c fd ff ff       	callq  10e0 <memset@plt>
    1354:	48 8b 45 f8          	mov    -0x8(%rbp),%rax
    1358:	48 89 c7             	mov    %rax,%rdi
    135b:	e8 bf fe ff ff       	callq  121f <_Z5sievePj>
    1360:	c7 45 ec fe ff ff ff 	movl   $0xfffffffe,-0x14(%rbp)
    1367:	c7 45 e8 00 00 00 00 	movl   $0x0,-0x18(%rbp)
    136e:	81 7d e8 07 af 2f 00 	cmpl   $0x2faf07,-0x18(%rbp)
    1375:	7f 26                	jg     139d <main+0x9f>
    1377:	8b 45 e8             	mov    -0x18(%rbp),%eax
    137a:	48 98                	cltq   
    137c:	48 8d 14 85 00 00 00 	lea    0x0(,%rax,4),%rdx
    1383:	00 
    1384:	48 8b 45 f8          	mov    -0x8(%rbp),%rax
    1388:	48 01 d0             	add    %rdx,%rax
    138b:	8b 00                	mov    (%rax),%eax
    138d:	89 c7                	mov    %eax,%edi
    138f:	e8 55 fe ff ff       	callq  11e9 <_Z5countj>
    1394:	01 45 ec             	add    %eax,-0x14(%rbp)
    1397:	83 45 e8 01          	addl   $0x1,-0x18(%rbp)
    139b:	eb d1                	jmp    136e <main+0x70>
    139d:	48 8b 45 f8          	mov    -0x8(%rbp),%rax
    13a1:	48 89 c7             	mov    %rax,%rdi
    13a4:	e8 f7 fc ff ff       	callq  10a0 <free@plt>
    13a9:	e8 12 fd ff ff       	callq  10c0 <clock@plt>
    13ae:	48 2b 45 f0          	sub    -0x10(%rbp),%rax
    13b2:	48 89 c1             	mov    %rax,%rcx
    13b5:	48 ba cf f7 53 e3 a5 	movabs $0x20c49ba5e353f7cf,%rdx
    13bc:	9b c4 20 
    13bf:	48 89 c8             	mov    %rcx,%rax
    13c2:	48 f7 ea             	imul   %rdx
    13c5:	48 c1 fa 07          	sar    $0x7,%rdx
    13c9:	48 89 c8             	mov    %rcx,%rax
    13cc:	48 c1 f8 3f          	sar    $0x3f,%rax
    13d0:	48 29 c2             	sub    %rax,%rdx
    13d3:	48 89 d0             	mov    %rdx,%rax
    13d6:	f2 48 0f 2a c0       	cvtsi2sd %rax,%xmm0
    13db:	8b 45 ec             	mov    -0x14(%rbp),%eax
    13de:	89 c6                	mov    %eax,%esi
    13e0:	48 8d 3d 2f 0c 00 00 	lea    0xc2f(%rip),%rdi        # 2016 <_IO_stdin_used+0x16>
    13e7:	b8 01 00 00 00       	mov    $0x1,%eax
    13ec:	e8 df fc ff ff       	callq  10d0 <printf@plt>
    13f1:	b8 00 00 00 00       	mov    $0x0,%eax
    13f6:	c9                   	leaveq 
    13f7:	c3                   	retq   
    13f8:	0f 1f 84 00 00 00 00 	nopl   0x0(%rax,%rax,1)
    13ff:	00 

0000000000001400 <__libc_csu_init>:
    1400:	f3 0f 1e fa          	endbr64 
    1404:	41 57                	push   %r15
    1406:	4c 8d 3d 83 29 00 00 	lea    0x2983(%rip),%r15        # 3d90 <__frame_dummy_init_array_entry>
    140d:	41 56                	push   %r14
    140f:	49 89 d6             	mov    %rdx,%r14
    1412:	41 55                	push   %r13
    1414:	49 89 f5             	mov    %rsi,%r13
    1417:	41 54                	push   %r12
    1419:	41 89 fc             	mov    %edi,%r12d
    141c:	55                   	push   %rbp
    141d:	48 8d 2d 74 29 00 00 	lea    0x2974(%rip),%rbp        # 3d98 <__do_global_dtors_aux_fini_array_entry>
    1424:	53                   	push   %rbx
    1425:	4c 29 fd             	sub    %r15,%rbp
    1428:	48 83 ec 08          	sub    $0x8,%rsp
    142c:	e8 cf fb ff ff       	callq  1000 <_init>
    1431:	48 c1 fd 03          	sar    $0x3,%rbp
    1435:	74 1f                	je     1456 <__libc_csu_init+0x56>
    1437:	31 db                	xor    %ebx,%ebx
    1439:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
    1440:	4c 89 f2             	mov    %r14,%rdx
    1443:	4c 89 ee             	mov    %r13,%rsi
    1446:	44 89 e7             	mov    %r12d,%edi
    1449:	41 ff 14 df          	callq  *(%r15,%rbx,8)
    144d:	48 83 c3 01          	add    $0x1,%rbx
    1451:	48 39 dd             	cmp    %rbx,%rbp
    1454:	75 ea                	jne    1440 <__libc_csu_init+0x40>
    1456:	48 83 c4 08          	add    $0x8,%rsp
    145a:	5b                   	pop    %rbx
    145b:	5d                   	pop    %rbp
    145c:	41 5c                	pop    %r12
    145e:	41 5d                	pop    %r13
    1460:	41 5e                	pop    %r14
    1462:	41 5f                	pop    %r15
    1464:	c3                   	retq   
    1465:	66 66 2e 0f 1f 84 00 	data16 nopw %cs:0x0(%rax,%rax,1)
    146c:	00 00 00 00 

0000000000001470 <__libc_csu_fini>:
    1470:	f3 0f 1e fa          	endbr64 
    1474:	c3                   	retq   

Disassembly of section .fini:

0000000000001478 <_fini>:
    1478:	f3 0f 1e fa          	endbr64 
    147c:	48 83 ec 08          	sub    $0x8,%rsp
    1480:	48 83 c4 08          	add    $0x8,%rsp
    1484:	c3                   	retq   
